@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
}

/*----NAVBAR---*/
.navbar {
    padding: 25px 0 !important;
    font-size: 20px;
}


.navbar .navbar-brand {
    font-size: 25px;
    font-weight: bold;
}

.btn {
    border-radius: 50px;
}

/*---LANDING PAGE---*/
.landing-div {
    background: white url("../IMG/img1.jpg") no-repeat scroll center;
    height: 100vh;
    background-size: cover;
    color: white;
}

.landing-wrapper {
    background-color: rgbd(0, 0, 0, 0.5);
    height: 100%;
}

/* Styles for scrolled navbar and buttons */
.scrolled {
    background-color: white !important;
}

.scrolled .navbar-brand,
.scrolled .nav-link,
.scrolled .fa {
    color: green !important;
}

.scrolled .btn-scrolled {
    background-color: green !important;
    border-color: green !important;
}

.scrolled .btn-scrolled:hover {
    background-color: darkgreen !important;
    border-color: darkgreen !important;
}

/* Styles for the "Load More" button */
.load-more-button {
    text-align: center;
    margin-top: 20px;
}

.load-more-button button {
    background-color: green;
    color: white;
    border: 2px solid green;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.load-more-button button:hover {
    background-color: darkgreen;
}

/* Styles for search engine and author list */
.search-container {
    text-align: center;
    margin-top: 20px;
}

.custom-search-form {
    display: inline-block;
    background-color: white;
    border: 2px solid green;
    border-radius: 5px;
    padding: 5px;
}

.custom-search-input {
    padding: 5px;
    border: none;
    border-radius: 3px;
    width: 200px;
}

.custom-search-button {
    background-color: green;
    color: white;
    border: 2px solid green;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.custom-search-button:hover {
    background-color: darkgreen;
}

.at {
    margin-top: 30px;
    text-align: center;
}

.author-list {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.author-list-item {
    margin: 10px;
    text-align: center;
    width: 120px;
}

.author-list-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
}

.author-list-item a {
    display: block;
    text-decoration: none;
    color: black;
}

.author-list-item a:hover {
    color: green;
}

/* CSS for the "Add Books" section */
.books {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 30px;
}

.books .book {
    margin: 10px;
    text-align: center;
    max-width: 200px;
    /* Adjust as needed */
}

.books .book img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.books .book:hover img {
    transform: scale(1.1);
}

.books .book .languages {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.books .book:hover .languages {
    display: block;
}

.books .book .languages a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
}

/* ---------------- Main Footer -------------- */
.main-footer {
    background: rgba(255, 255, 255, 0.327) url("../IMG/photo_2023-03-04_08-59-31.jpg") no-repeat scroll center;
    background-size: cover;
    color: white;
}

.footer-wrapper {
    background-color: rgba(255, 255, 255, 0.204);
    height: 100%;
}